<script setup>
import { ref,reactive,computed,watch,watchEffect } from "vue";
import itemMenu from "./itemMenu.vue"
import {useStore} from "@/store/modeles/router"
const store=useStore()
// const routerComputed=computed(()=>{
// 	return store.router.filter(item=>{
// 		if(item.meta&&item.meta.hide===true){
// 			return true
// 		}
// 	})
// })
const route=useRoute()
</script>
<template>
<el-menu router :default-active="route.path">
	<template v-for="(item,index) in store.router" :key="item.path">
		<itemMenu :route="item"></itemMenu>
	</template>
	</el-menu>
</template>
<style>


</style>